package com.it.xyx.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Classname PayFeignApi
 * @Description TODO
 * @Date 2024/8/14 17:29
 * @Created by 潜伏Sir
 */
//服务名+接口前缀(如果有)
@FeignClient(value = "cloud-server-pay-demo")
public interface PayFeignApi {
    @GetMapping("/pay/get")
    public String getPay();


    @GetMapping(value = "/pay/circuit/{id}")
    public String myCircuit(@PathVariable("id")  Integer id);
}
